﻿using IveelySE.Dream.Common.Transmission;
/*
 * Created by SharpDevelop.
 * User: Iveely Liu
 * Date: 2013/4/4
 * Time: 20:13
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Threading;

namespace IveelySE.Dream.Controller
{
    class Program
    {
        public static void Main(string[] args)
        {
            ReaderController readerController = new ReaderController();
            readerController.Start();
            while (true)
            {
                Console.WriteLine("Show:");
                foreach (ClientInfo client in readerController.GetReaders())
                {
                    Console.WriteLine(client.IP);
                }
                Thread.Sleep(5000);
            }
        }
    }
}